home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / scopy202.zip / SCOPY.DOC < prev    next >
Text File  |  1991-08-12  |  13KB  |  346 lines

  1.  
  2.                                 SCOPY
  3.  
  4.  
  5.       DISKETTE to FILE / FILE to DISKETTE / FILE TO FILE
  6.                COPY and ARCHIVE UTILITY
  7.  
  8.                               Written by
  9.                              Craig Gaumer
  10.                                   and
  11.                               Ed Bachman
  12.  
  13.  
  14.                         For C.E.Gaumer Software
  15.                              P.O. Box 384
  16.                      Laurys Station, PA 18059-0384
  17.  
  18.                 Copyright 1990,1991 All Rights Reserved
  19.  
  20.  
  21.  
  22. SCOPY is a copyrighted program released as SHAREWARE.  You are entitled to use
  23. the program for a short evaluation period without paying for the program.  If
  24. you continue to use SCOPY beyond this evaluation period you are expected to
  25. register the program.  See the registration form at the end of this document or
  26. the SCOPY.REG file in this package.  Note that ANY useage in a commercial,
  27. government or institutional setting REQUIRES a site license.
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.                               DISCLAIMER
  35.  
  36.         It is the sole resposibility of the user to determine the
  37. suitability and fitness of SCOPY for the user's particular needs, uses
  38. and hardware.  C.E. Gaumer Software assumes no responsibility for any
  39. difficulties, problems or loss of data resulting from the use of SCOPY,
  40. even if C.E. Gaumer Software has been informed of the possibility of
  41. such difficulties, problems or losses.
  42.  
  43.  
  44.                            GENERAL OVERVIEW
  45.  
  46.         The general purpose of SCOPY is to copy a diskette into a file
  47. and back.  The final diskette is a reproduction of the original diskette
  48. as if it had been made with DISKCOPY.  This is useful if you have a set
  49. of diskettes on which the files must reside on the proper diskette
  50. and/or in the proper subdirectory for an install program or for indexing
  51. or other purposes.  Since SCOPY can now do LZ compression and the SCOPY
  52. file contains its own CRC checksum, SCOPY's usefulness for archiving and
  53. modem transfers has been greatly enhanced.  Also, since the file can
  54. reside on the hard drive, memory size is not a limiting factor so a
  55. DISKCOPY type operation can be done in a single pass, even in the
  56. larger diskette formats.  For this type of operation SCOPY to a ramdisk
  57. can speed execution.
  58.  
  59.  
  60.  
  61.              USE OF SCOPY 2.02 WITH OLDER SCOPY VERSIONS
  62.  
  63.         SCOPY, as in previous releases, is 100% backward compatible.
  64. Any SCOPY file created with an older version of SCOPY can be properly
  65. read by SCOPY 2.02.  SCOPY 2.02 files created without compression can be
  66. read by the older registered versions of SCOPY (prior to 2.00), but the
  67. older version will not be able to verify the CRC checksum in the file.
  68. If LZ compression is used to create a SCOPY file older versions of
  69. SCOPY will report that the resultant file is "NOT A SCOPY FILE".
  70.  
  71.     There has been no change to the file structure since Version
  72. 2.00.  Therefore, this version is 100% compatible with 2.00 and above.
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.                           USAGE and SWITCHES
  81.  
  82.         There are four different sets of syntax for SCOPY depending on
  83. the source and destination of the copy or the information requested.
  84. These will be discussed individually.  Typing SCOPY with no parameters
  85. at all will show a help screen for ready reference.
  86.  
  87.     The general rule is: SCOPY Source Destination [Switches]
  88.  
  89. Although multiple switches are shown in this document using a slash to
  90. precede each switch all the switches on the command line may be grouped.
  91. The switches are also NOT case sensitive (i.e. SCOPY A: TEST /O /R is
  92. identical to SCOPY A: TEST /OR and scopy a: test /o /r) When SCOPY
  93. reads or writes a file the default extender is .SCP but the user may
  94. supply a different extender or, by typing the period, indicate to SCOPY
  95. not to use any extender.
  96.  
  97.  
  98.  
  99.  
  100.                   SCOPYING FROM A DISKETTE TO A FILE
  101.  
  102. The proper syntax is:
  103.  
  104. [Drive][Path]SCOPY Src_Drive: [Drive:][Path]Dest_Filename[.Ext] [/O][/C][/R]
  105.  
  106. /O (Overwrite) causes no prompt if the destination file already exists
  107. /R (Remark) prompts the user for a comment to be included in the file
  108. /C (Compress) causes the destination file to be LZ compressed
  109.  
  110. Example:
  111.  
  112.     SCOPY A: C:\UTILITY\THISDISK /R
  113.  
  114. Would SCOPY the diskette in A to THISDISK.SCP in the UTILITY directory
  115. of drive C prompting the user for a remark to be included in the file.
  116. If the file THISDISK.SCP already existed the user would be prompted and
  117. asked permission to overwrite the existing file.
  118. (of course if C:\UTILITY is the current directory then
  119.  
  120.     SCOPY A: THIDISK /R
  121.  
  122. is identical to the above example)
  123.  
  124.         Even without any switches SCOPY compresses the file slightly.
  125. This compression affects only sectors in which all the bytes of the
  126. sector are identical.  Even on a diskette with "0 bytes free" there is a
  127. good chance that there are unused sectors since the diskette space is
  128. usually alocatted in 2 sector clusters.  However erased files are not
  129. compressed because any sectors which contain data are not compressed
  130. even if that data is unused by any file.  This often happens on a
  131. diskette where files have been erased.
  132.  
  133.         The /C switch causes SCOPY to create the file using the LZ
  134. compression method.  This results in a higher level of compression but,
  135. of course, takes more time.  If the resultant SCOPY file is to be
  136. temporary (as when using SCOPY only to do one pass DISKCOPY or make
  137. multiple copies from a single disk read) then, to increase speed, the 
  138. /C switch should not be used. 
  139.  
  140.         The diskette created with SCOPY is identical to the original.
  141. If the original was a boot disk the copy will be bootable.  If the
  142. original has files which could be unerased then the copy will also.
  143.  
  144.     When the /R switch is used the user is prompted for a remark to
  145. be included in the SCOPY file.  The remark is displayed when SCOPY
  146. accesses the file and can be written to the file SCOPYLBL.TXT when a
  147. diskette is created from the file (see SCOPYING FROM A FILE TO A
  148. DISKETTE below) The remark is limited to 128 characters in length.
  149.  
  150.     When SCOPYing multiple diskettes in one session the DOS command 
  151. line keys (F3, the arrows, etc.) work when editing REMARKS after the 
  152. first unless some TSR command line program interferes.The remark entry 
  153. can also be redirected from a file using the DOS redirection operator 
  154. on the command line.  The remark does not appear anywhere on the 
  155. diskette(s) created from the SCOPY file.
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.                   GETTING INFORMATION ON A SCOPY FILE
  163.  
  164. The syntax for this is:
  165.  
  166. [Drive:][Path]SCOPY [Drive:][Path]Source_Filename[.Ext] [/V]
  167.  
  168. This displays information on a SCOPY file.
  169.  
  170.         The information about the original diskette is given along with the
  171. remark included in the file (if any). The compression level used by
  172. SCOPY when the file was created is shown if the file is compressed.
  173.  
  174.         The /V switch causes the data in the SCOPY file to be Verified
  175. using the CRC checksum and, if LZ compression was used, the LZ testing.
  176.  
  177. Example:
  178.  
  179.     SCOPY THISDISK /V
  180.  
  181. will show the type of diskette from which the file THISDISK.SCP was
  182. created and the remark, if any.  The file will be read and the CRC
  183. checksum verified since the /V switch is specified.
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.                   SCOPYING FROM A FILE TO A DISKETTE
  191.  
  192. [Drive:][Path]SCOPY [Drive:][Path]Src_Filename[.Ext] Dest_Drive:
  193. [/O][/N|F][/H][/R]
  194.  
  195. Where /O (Overwrite) causes no prompt if the diskette already contains data,
  196. /N (No format) causes the destination diskette not to be formatted and
  197. /F (Format) causes the destination diskette to be formatted.
  198. /H (Hi Density) forces setting up for formatting of a 360K diskette
  199.   in a 1.2 Meg drive where the presence of a 1.2 Meg Drive cannot be
  200.   automatically determined.
  201. /R (Remark) appends the remark, if any, in the SCOPY file, to a file
  202.    called SCOPYLBL.TXT in the current directory.
  203.  
  204.         The /O switch causes any existing data on the diskette to be
  205. overwritten without prompting the user.  Without the switch the
  206. diskette directory is read and permission is requested to overwrite if
  207. the